import os
import sys

warnings = ' -Wall'

ccflags = '-g -m64' + warnings


dirs = [
	"Src",
	]


env = Environment(CC="gcc", 
                  CXX="g++",
                  CCFLAGS=ccflags, 
                  CXXFLAGS=ccflags,
                  ENV={'PATH' : os.environ['PATH'],
                       'HOME' : os.environ['HOME']},
                  )

Export('env')

builddir = "build"

for dir in dirs:
	SConscript(
		dir + os.sep + "SConscript",
#		build_dir = builddir + os.sep + dir,
		duplicate = 0
		)

